package com.ysx.oa.user.controller;

import com.ysx.oa.user.bean.UserBean;
import com.ysx.oa.user.service.UserService;
import com.ysx.oa.user.service.impl.UserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/user")
public class UserController {

    /*@Autowired
    private UserService userService= new UserServiceImpl();

    @RequestMapping(value = "/delete.do",method = RequestMethod.POST)
    @ResponseBody
    public Map<String,Object> delete(@RequestBody UserBean userBean){
        Map<String,Object> map = new HashMap<>();

        Integer delete = userService.delete(userBean);

        map.put("code",200);
        map.put("row",delete);

        return map;
    }*/



}
